Xbasic

PARENTFORM

Syntax

PARENTFORM.THIS

PARENTFORM. Object_Name

PARENTFORM. Property

Arguments

Object_Name

The name of an form component.

Property

The name of a form property.

Description

PARENTFORM is an alias for the form or browse that contains an object.

Discussion

PARENTFORM is an alias for the form or browse that contains an object. Assume that a form called F1 contains a sub-form called SubF1. SubF1 has a button called B1. A script attached to B1 that referred to ParentForm would be referring to SubF1, while a reference to TopParent would be referring to F1.

images/LanguageRef.png

Example

parentform.Fetch_next()

Limitations

Desktop Applications Only

See Also